<section class="slider">
   <div class="flexslider">
      <ul class="slides">
        <?php foreach($slider as $items): ?>
		<li>
  	    	<img src="<?php echo Yii::app()->request->baseUrl . '/'.$items->url ?>" title="<?php echo $items->caption ?>">
  	    	<?php if(isset($items->caption)): ?>
  	    	<p class="flex-caption"><?php echo $items->caption ?></p>
  	    	<?php endif; ?>
  	    </li>
		<?php endforeach; ?>
      </ul>
  </div>
</section>

<div id="pro-content">
<?php $this->renderPartial('/product/index',array('items'=>$model))?>
</div>
